home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / vbcc-ppc / machines / amiga / doc / autolib.doc next >
Text File  |  1999-01-01  |  1KB  |  42 lines

  1.  
  2. INTRODUCTION
  3.  
  4.     auto.lib/libauto.a is a link library for vbcc which contains functions
  5.     to automagically open/close standard Amiga shared libraries.
  6.  
  7.  
  8. LEGAL
  9.  
  10.     genauto is (c) by Frank Wille.
  11.     auto.lib is public domain.
  12.  
  13.  
  14. USAGE
  15.  
  16.     To link with auto.lib (or the small data version autos.lib) specify
  17.     the -lauto or -lautos option to vc. You have to use vlink 0.6c or
  18.     later.
  19.  
  20.     When you are calling a standard Amiga library function and do not
  21.     have defined the corresponding library base then the library base
  22.     as well as code to open/close it will be taken from auto.lib.
  23.  
  24.     By default, auto.lib will try to open any library version. If you
  25.     need at least a certain version you can define and set a variable
  26.     _<library-base>Ver with external linkage, e.g. (on file-scope):
  27.  
  28.         int _IntuitionBaseVer = 39;
  29.  
  30.     Note that your program will abort before reaching main() if one
  31.     of the libraries cannot be opened. Also note that the dos.library
  32.     will be openened by the standard startup code, not by auto.lib.
  33.     This means you have to open dos.library yourself, when linking
  34.     with minstart.o.
  35.  
  36.     If you want third party libraries opened by auto.lib, add their
  37.     FD-files to Make_autolib.script and rebuild the library.
  38.  
  39.  
  40. Frank Wille and Volker Barthelmann
  41.  
  42.